package com.example.demo.entity;

import java.util.List;

import com.example.demo.entity.base.BaseEntity;

/**
 * @title:	LoginRole
 * @author:	许子文
 * @date:	2019年8月30日 
 * @descirption: 角色实体类
 */
public class LoginRole extends BaseEntity{
	private static final long serialVersionUID = -895600850861080859L;

	/**
	 * 角色id 
	 */
	private String role_id;
	
	/**
	 * 角色名称
	 */
	private String role_name;
	
	/**
	 * 角色等级
	 */
	private String role_level;
	
	/**
	 * 角色数据权限
	 */
	private String role_data_limit;
	
	/**
	 * 数据权限描述
	 */
	private String data_limit_desc;

	/**
	 * 角色编码
	 */
	private String role_code;
	
	/**
	 * 登陆id
	 */
	private String login_id;

	/**
	 * 角色包含菜单集合
	 */
	private List<MenuEntity> menus;
	
	public List<MenuEntity> getMenus() {
		return menus;
	}

	public String getRole_code() {
		return role_code;
	}

	public void setRole_code(String role_code) {
		this.role_code = role_code;
	}

	public void setMenus(List<MenuEntity> menus) {
		this.menus = menus;
	}

	public String getData_limit_desc() {
		return data_limit_desc;
	}

	public void setData_limit_desc(String data_limit_desc) {
		this.data_limit_desc = data_limit_desc;
	}

	public String getLogin_id() {
		return login_id;
	}

	public void setLogin_id(String login_id) {
		this.login_id = login_id;
	}

	public String getRole_id() {
		return role_id;
	}

	public void setRole_id(String role_id) {
		this.role_id = role_id;
	}

	public String getRole_name() {
		return role_name;
	}

	public void setRole_name(String role_name) {
		this.role_name = role_name;
	}

	public String getRole_level() {
		return role_level;
	}

	public void setRole_level(String role_level) {
		this.role_level = role_level;
	}

	public String getRole_data_limit() {
		return role_data_limit;
	}

	public void setRole_data_limit(String role_data_limit) {
		this.role_data_limit = role_data_limit;
	}
}
